<div if.bind="authService.isAuthenticated">
  Authenticated: ${user.currentUser}<br>
  <a click.trigger="goToLogin()">Logout</a>
</div>
<div else>
  Unauthenticated<br>
  <a click.trigger="goToLogin()">Login</a>
</div>
